package com.suge.user.manager;

import com.suge.user.dao.dataobject.UserDO;


public interface UserManager {

	/**
	 * Get user info by UserID
	 * @param userId
	 * @return
	 */
	public UserDO getAppUserByUserId(long userId);
	

	/**
	 * Get user info by UserNIck
	 * @param userId
	 * @return
	 */
	public UserDO getAppUserByUserNick(String userNick);
	/**
	 * 
	 * @param appUserDO
	 * @return
	 */
	public boolean updateUserInfo(UserDO userDO);
	
	public UserDO getAppUser4Open(String openId,String openKey);
	
	public UserDO getTaoBaoUserInfo(String sessionKey);
}
